package com.qiu.usercenter.model.domain.AiRequest;

import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class ChatMessage {
    private String content;
    private String role;

    public ChatMessage(String content) {
        // 发送的内容
        this.content = content;
        // 角色
        this.role = "user";
    }
}
